<?php

	class My_Plugin_GetRequestParameters extends Zend_Controller_Plugin_Abstract
	{
	    public function preDispatch(Zend_Controller_Request_Abstract $request)
	    {

	    	$module = $request->getModuleName();
	    	$controller = $request->getControllerName();
	    	$action = $request->getActionName();
			Zend_Registry::set('currentModuleName', $module);
			Zend_Registry::set('currentControllerName', $controller);
			Zend_Registry::set('currentActionName', $action);

		}
	}